@@ -302,7 +302,10 @@ <h2>An extended activity</h2>
302
302
"@type": "urn:example:types:person",
303
303
"@id": "urn:example:person:martin",
304
304
"displayName": "Martin Smith",
305
- "url": "http://example.org/martin",
305
+ "url": {
306
+ "@id": "http://example.org/martin",
307
+ "displayName": "Martin's Profile"
308
+ },
306
309
"image": {
307
310
"@id": "http://example.org/martin/image",
308
311
"mediaType": "image/jpeg",
@@ -391,7 +394,8 @@ <h2><dfn title="Object" id="asobject">Object</dfn></h2>
391
394
< a href ="activitystreams2-vocabulary.html#dfn-provider "> provider</ a > |
392
395
< a href ="activitystreams2-vocabulary.html#dfn-published "> published</ a > |
393
396
< a href ="activitystreams2-vocabulary.html#dfn-rating "> rating</ a > |
394
- < a href ="activitystreams2-vocabulary.html#dfn-replies "> replies</ a >
397
+ < a href ="activitystreams2-vocabulary.html#dfn-replies "> replies</ a > |
398
+ < a href ="activitystreams2-vocabulary.html#dfn-resultof "> resultOf</ a > |
395
399
< a href ="activitystreams2-vocabulary.html#dfn-scope "> scope</ a > |
396
400
< a href ="activitystreams2-vocabulary.html#dfn-starttime "> startTime</ a > |
397
401
< a href ="activitystreams2-vocabulary.html#dfn-summary "> summary</ a > |
@@ -486,19 +490,22 @@ <h2><dfn title="Link">Link</dfn></h2>
486
490
</ p >
487
491
488
492
< p >
489
- The target URI of the Link is the global identifier expressed in the JSON-LD
490
- serialization using the < code > @id</ code > keyword. In addition, all < code > Link</ code >
491
- instances share the following common set of properties as defined by the
493
+ When expressed as a JSON object, the target URI of the Link is the global
494
+ identifier expressed in the JSON-LD serialization using the < code > @id</ code >
495
+ keyword. In addition, all < code > Link</ code > instances share the following
496
+ common set of properties as defined by the
492
497
< a href ="activitystreams2-vocabulary.html "> Activity Vocabulary</ a > :
493
498
< code >
494
499
< a href ="activitystreams2-vocabulary.html#dfn-displayname "> displayName</ a > |
495
500
< a href ="activitystreams2-vocabulary.html#dfn-duration "> duration</ a > |
496
- < a href ="activitystreams2-vocabulary.html#dfn-height "> height</ a > |
501
+ < a href ="activitystreams2-vocabulary.html#dfn-height "> height</ a > |
497
502
< a href ="activitystreams2-vocabulary.html#dfn-icon "> icon</ a > |
498
503
< a href ="activitystreams2-vocabulary.html#dfn-image "> image</ a > |
499
- < a href ="activitystreams2-vocabulary.html#dfn-inreplyto "> inReplyTo</ a > |
504
+ < a href ="activitystreams2-vocabulary.html#dfn-inreplyto "> inReplyTo</ a > |
505
+ < a href ="activitystreams2-vocabulary.html#dfn-language "> language</ a > |
500
506
< a href ="activitystreams2-vocabulary.html#dfn-mediatype "> mediaType</ a > |
501
507
< a href ="activitystreams2-vocabulary.html#dfn-rel "> rel</ a > |
508
+ < a href ="activitystreams2-vocabulary.html#dfn-resultof "> resultOf</ a > |
502
509
< a href ="activitystreams2-vocabulary.html#dfn-title "> title</ a > |
503
510
< a href ="activitystreams2-vocabulary.html#dfn-width "> width</ a >
504
511
</ code >
@@ -649,14 +656,8 @@ <h2><dfn title="Activity" id="activity">Activity</dfn></h2>
649
656
"@id": "urn:example:verb:like",
650
657
"displayName": "like"
651
658
},
652
- "actor": {
653
- "@type": "http://activitystrea.ms/2.0/Link",
654
- "@id": "http://example.org/profiles/joe"
655
- },
656
- "object": {
657
- "@type": "http://activitystrea.ms/2.0/Link",
658
- "@id": "http://example.com/notes/1"
659
- },
659
+ "actor": "http://example.org/profiles/joe",
660
+ "object": "http://example.com/notes/1",
660
661
"published": "2014-09-30T12:34:56Z"
661
662
}
662
663
</ code > </ pre > </ figure >
0 commit comments